#include <stdio.h>
int main(void)
{
    char char_input;
    //char_input = getchar();
    // while(char_input != 'k')
    // {
    //     printf("In while loop, please input any key\n");
    //     char_input = getchar();
    // }
    // printf("Exit while loop\n");
    do
    {
        printf("In do .. while loop\n");
        printf("Please input a key:\n");
        char_input = getchar();
    } while (char_input != 'k'/* condition */);
    printf("Exit do .. while loop\n");
    return 0;
}